@import "colors.css";
/*导航栏Item样式*/
.nav-item {
    -fx-background-radius: 3px;
    -fx-min-height: 40px;
    -fx-pref-height: 40px;
    -fx-alignment: center-left;
    -fx-spacing: 10px;
    -fx-padding: 0 10px;
    -fx-cursor: hand;
}

.nav-item > .icon-label > .ikonli-font-icon {
    -fx-icon-size: 20px;
    -fx-icon-color: derive(-color-fg-default, 30%);
}

.nav-item > .name-label {
    -fx-font-size: 14px;
    -fx-pref-height: 30px;
    -fx-font-weight: bolder;
    -fx-text-fill: derive(-color-fg-default, 30%);
}

.nav-item > .notice-label {
    -fx-font-size: 14px;
    -fx-pref-height: 30px;
    -fx-alignment: center;
    -fx-text-fill: derive(-color-fg-default, 30%);
}

.nav-item:hover > .name-label {
    -fx-text-fill: -cfx-primary-color;
}

.nav-item:hover > .notice-label {
    -fx-text-fill: -cfx-primary-color;
}

.nav-item:hover > .icon-label > .ikonli-font-icon {
    -fx-icon-color: -cfx-primary-color;
}